from django.db import models
from django.contrib.auth.models import AbstractUser
# Create your models here.
class Code(models.Model):
    code=models.CharField(max_length=6)
    phone=models.CharField(max_length=11)
    time=models.DateTimeField(auto_now_add=True)

class User(AbstractUser):
    phone=models.CharField(max_length=11)

